<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
        <head>
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
                <title>无标题文档</title>
                <link href="__PUBLIC__/css/select.css" rel="stylesheet" type="text/css" />
                <link href="__PUBLIC__/css/style.css" rel="stylesheet" type="text/css" />
                <script type="text/javascript" src="__PUBLIC__/js/jquery-1.9.0.min.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/jquery.idTabs.min.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/select-ui.min.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/editor/kindeditor.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/layer/layer.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/laydate/laydate.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/swfobject.js"></script>

                <script type="text/javascript">
                        KE.show({
                                id: 'content7',
                                cssPath: './index.css'
                        });
                </script>

                <script type="text/javascript">
                        $(document).ready(function() {
                                /*                
                                 $(".select1").uedSelect({
                                 width: 345
                                 });
                                 $(".select2").uedSelect({
                                 width: 167
                                 });
                                 */
                                $(".select3").uedSelect({
                                        width: 100
                                });
//                                layer.msg("1");
                                $("input[name='phone']").attr("disabled", "disabled");//改成disabled 
                                //http://sentsin.com/layui/laydate/api.html   laydate API
                                laydate.skin("dahong");
                        });
                </script>
        </head>

        <body>

                <div class="place">
                        <span>位置：</span>
                        <ul class="placeul">
                                <li><a href="#">首页</a></li>
                                <li><a href="#">用户管理</a></li>
                                <li><a href="#">普通用户管理</a></li>
                                <li><a href="#">用户列表</a></li>
                                <li><a href="#">用户详情</a></li>
                        </ul>
                </div>

                <div class="formbody">

                        <!--http://www.fullavatareditor.com/license.html  上传头像插件-->
                        <div id="usual1" class="usual"> 

                                <div class="itab">
                                        <ul> 
                                                <li><a href="#tab1" class="selected">用户信息</a></li> 
                                                <li><a href="#tab2">头像</a></li> 
                                                <li><a href="#tab3">好友</a></li> 
                                                <li><a href="#tab4">约钓</a></li>
                                                <li><a href="#tab5">钓场</a></li>
                                                <li><a href="#tab6">动态</a></li>
                                        </ul>
                                </div> 

                                <div id="tab1" class="tabson">
                                        <!--
                                               <div class="formtext">Hi，<b>admin</b>，欢迎您试用信息发布功能！</div>
                                        -->
                                        <ul class="forminfo">
                                                <li>
                                                        <label>用户名<b></b></label>
                                                        <input name="username" type="text" class="dfinput" value="{$user['username']}"  style="width:200px;"/>
                                                        <!--<input name="" type="text" class="dfinput" value=""  style="width:518px;"/>-->
                                                </li>
                                                <li>
                                                        <label>电话<b>*</b></label>  
                                                        <input name="phone" type="text" class="dfinput" value="{$user['phone']}"  style="width:200px;"/>
                                                </li>
                                                <li>
                                                        <label>昵称<b></b></label>  
                                                        <input name="nickname" type="text" class="dfinput" value="{$user['nickname']}"  style="width:200px;"/>
                                                </li>
                                                <li>
                                                        <label>性别<b></b></label>  
                                                        <input name="sex" type="text" class="dfinput" value="{$user['sex']}"  style="width:200px;"/>
                                                </li>

                                                <li>
                                                        <label>签名<b></b></label>  
                                                        <input name="sign" type="text" class="dfinput" value="{$user['sign']}"  style="width:200px;"/>
                                                </li>
                                                <li>
                                                        <label>E-mail<b></b></label>  
                                                        <input name="email" type="text" class="dfinput" value="{$user['email']}"  style="width:200px;"/>
                                                </li>
                                                <li>
                                                        <!--area_id-->
                                                        <label>地区<b></b></label>  
                                                        <!--省-->
                                                        <div class="vocation">
                                                                <select class="select3">
                                                                        <option>湖北省</option>
                                                                        <option>河南省</option>
                                                                </select>
                                                        </div>
                                                        <!--市-->
                                                        <div class="vocation">
                                                                <select class="select3">
                                                                        <option>宜昌市</option>
                                                                        <option>武汉市</option>
                                                                </select>
                                                        </div>
                                                        <!--县-->
                                                        <div class="vocation">
                                                                <select class="select3">
                                                                        <option>西陵区</option>
                                                                        <option>长阳县</option>
                                                                </select>
                                                        </div>
                                                </li>
                                                <li>
                                                        <label>博客<b></b></label>  
                                                        <input name="blog" type="text" class="dfinput" value="{$user['blog']}"  style="width:200px;"/>
                                                </li>
                                                <li>
                                                        <label>关于<b></b></label>  
                                                        <input name="about" type="text" class="dfinput" value="{$user['about']}"  style="width:200px;"/>
                                                </li>
                                                <li>
                                                        <label>上次登录时间<b></b></label>  
                                                        <input name="last_login_time" readonly="readonly" type="text" class="dfinput" value="{$user['last_login_time']}" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})" style="width:200px;"/>
                                                </li>
                                                <li>
                                                        <label>上次登录IP<b></b></label>  
                                                        <input name="last_ip" type="text" class="dfinput" value="{$user['last_ip']}"  style="width:200px;"/>
                                                </li>
                                                <li>
                                                        <label>地址<b></b></label>  
                                                        <input name="address" type="text" class="dfinput" value="{$user['address']}"  style="width:200px;"/>
                                                </li>
                                                <li>
                                                        <label>总共登录次数<b></b></label>  
                                                        <input name="count_login" type="text" class="dfinput" value="{$user['count_login']}"  style="width:200px;"/>
                                                </li>
                                                <li>
                                                        <label>积分<b></b></label>  
                                                        <input name="count_score" type="text" class="dfinput" value="{$user['count_score']}"  style="width:200px;"/>
                                                </li>
                                                <li>
                                                        <label>是否验证<b></b></label>  
                                                        <input name="isverify" type="text" class="dfinput" value="{$user['isverify']}"  style="width:200px;"/>
                                                </li>
                                                <li>
                                                        <label>注册IP<b></b></label>  
                                                        <input name="reg_ip" type="text" class="dfinput" value="{$user['reg_ip']}"  style="width:200px;"/>
                                                </li>
                                                <li>
                                                        <label>注册时间<b></b></label>  
                                                        <input name="reg_time" type="text" class="dfinput" value="{$user['reg_time']}"  style="width:200px;"/>
                                                </li>
                                                <li>
                                                        <label>用户等级<b></b></label>  
                                                        <input name="level" type="text" class="dfinput" value="{$user['level']}"  style="width:200px;"/>
                                                </li>
                                                <!--
                                                <li>
                                                        <label>通知内容<b>*</b></label>
                                                        <textarea id="content7" name="content" style="width:700px;height:250px;visibility:hidden;"></textarea>
                                                </li>
                                                -->
                                                <li>
                                                        <label>&nbsp;</label>
                                                        <input name="" type="button" class="btn" value="更新"/></li>
                                        </ul>
                                </div> 

                                <div id="tab2" class="tabson">
                                        <div id="altContent"></div>
                                        <div>
                                                <br/>
                                                <input type="button" class="btn" onclick="swfobject.getObjectById('FaustCplus').jscall_updateAvatar();" value="上传"/>
                                        </div>
                                        <div id="avatar_priview"></div>
                                        <script type="text/javascript">

                                                function uploadevent(status) {
                                                        status += '';
                                                        switch (status) {

                                                                case '1': //上传完后的操作。
                                                                        //alert('upload succeed!');
                                                                        layer.msg('上传成功！', {icon: 6});

                                                                        var time = new Date().getTime();
                                                                        //document.getElementById('avatar_priview').innerHTML = "预览: <img src='__PUBLIC__/images/avatar_1.jpg?" + time + "'/> <br/> 原头像: <img src='__PUBLIC__/images/avatar_2.jpg?" + time + "'/>";
                                                                        break;

                                                                case '2': //这里是js调用提示参数,如果不需要提示，直接 return 1即可
                                                                        /*                                        
                                                                         if (confirm('js call upload')) {
                                                                         return 1;
                                                                         } else {
                                                                         return 0;
                                                                         }
                                                                         */
                                                                        return 1;
                                                                        break;

                                                                case '-1':
                                                                        //alert('cancel!');
                                                                        window.location.href = "#";
                                                                        break;
                                                                case '-2':
                                                                        //alert('upload failed!');
                                                                        layer.msg("上传失败！");
                                                                        window.location.href = "#";
                                                                        break;

                                                                default:
                                                                        alert(typeof (status) + ' ' + status);
                                                        }
                                                }

                                                var flashvars = {
                                                        "jsfunc": "uploadevent",
                                                        "imgUrl": "__PUBLIC__/images/user_default_icon.png",
                                                        "pid": "75642723",
                                                        "uploadSrc": true,
                                                        "showBrow": true, //关闭上传按钮
                                                        "showCame": true, //关闭摄像头
                                                        "uploadUrl": "__APP__/Home/User/user_upload_icon?action=uploadavatar"
                                                                //"pSize":"250|250|150|150|80|80|50|50" 这里可以改尺寸
                                                };

                                                var params = {
                                                        menu: "false",
                                                        scale: "noScale",
                                                        allowFullscreen: "true",
                                                        allowScriptAccess: "always",
                                                        wmode: "transparent",
                                                        bgcolor: "#FFFFFF"
                                                };

                                                var attributes = {
                                                        id: "FaustCplus"
                                                };

                                                swfobject.embedSWF("__PUBLIC__/swf/FaustCplus.swf", "altContent", "650", "360", "9.0.0", "expressInstall.swf", flashvars, params, attributes);

                                        </script>

                                </div>


                                <!--好友-->
                                <div id="tab3" class="tabson">  
                                        <!--
                                        <ul class="seachform">
                                                <li><label>综合查询</label><input name="" type="text" class="scinput" /></li>
                                                <li><label>指派</label>  
                                                        <div class="vocation">
                                                                <select class="select3">
                                                                        <option>全部</option>
                                                                        <option>其他</option>
                                                                </select>
                                                        </div>
                                                </li>

                                                <li>
                                                        <label>重点客户</label>  
                                                        <div class="vocation">
                                                                <select class="select3">
                                                                        <option>全部</option>
                                                                        <option>其他</option>
                                                                </select>
                                                        </div>
                                                </li>

                                                <li><label>客户状态</label>  
                                                        <div class="vocation">
                                                                <select class="select3">
                                                                        <option>全部</option>
                                                                        <option>其他</option>
                                                                </select>
                                                        </div>
                                                </li>
                                                <li>
                                                        <label>&nbsp;</label>
                                                        <input name="" type="button" class="scbtn" value="查询"/>
                                                </li>
                                        </ul>
                                        -->

                                        <table class="tablelist">
                                                <thead>
                                                        <tr>
                                                                <th><input name="" type="checkbox" value="" checked="checked"/></th>
                                                                <th>用户名<i class="sort"><img src="__APP__/Public/images/px.gif" /></i></th>
                                                                <th>电话</th>
                                                                <th>昵称</th>
                                                                <th>性别</th>
                                                                <th>添加时间</th>
                                                                <th>操作</th>
                                                        </tr>
                                                </thead>
                                                <tbody>
                                                        <volist name="friends" id="friend">
                                                                <tr>
                                                                        <td><input name="" type="checkbox" value="" /></td>
                                                                        <td>{$friend.username}</td>
                                                                        <td>{$friend.phone}</td>
                                                                        <td>{$friend.nickname}</td>
                                                                        <td>{$friend.sex}</td>
                                                                        <td>{$friend.add_time}</td>
                                                                        <td><a href="#" class="tablelink">查看</a>     <a href="#" class="tablelink"> 删除</a></td>
                                                                </tr> 
                                                        </volist>
                                                </tbody>
                                        </table>
                                </div>  
                                <div id="tab4" class="tabson">  
                                </div>
                                <div id="tab5" class="tabson">  
                                </div>
                                <div id="tab6" class="tabson">  
                                        <!--动态-->
                                        <div class="tools">
                                                <ul class="toolbar">
                                                        <li class="click"><span><img src="__PUBLIC__/images/t01.png" /></span>添加</li>
                                                        <li class="click"><span><img src="__PUBLIC__/images/t02.png" /></span>修改</li>
                                                        <li><span><img src="__PUBLIC__/images/t03.png" /></span>删除</li>
                                                        <li><span><img src="__PUBLIC__/images/t04.png" /></span>统计</li>
                                                </ul>
                                                <ul class="toolbar1">
                                                        <li><span><img src="__PUBLIC__/images/t05.png" /></span>设置</li>
                                                </ul>
                                        </div>
                                        <table class="tablelist">
                                                <thead>
                                                        <tr>
                                                                <th width="10px"><input name="" type="checkbox" value="" checked="checked"/></th>
                                                                <th width="150px">时间<i class="sort"><img src="__APP__/Public/images/px.gif" /></i></th>
                                                                <th  width="250px">位置</th>
                                                                <th>内容</th>
                                                                <th width="100px">操作</th>
                                                        </tr>
                                                </thead>
                                                <tbody>
                                                        <tr>
                                                                <td><input name="" type="checkbox" value="" /></td>
                                                                <td>2015年5月29日16:58:13</td>
                                                                <td>湖北宜昌</td>
                                                                <td>~~~~</td>
                                                                <td>
                                                                        <a href="#" class="tablelink">查看</a>     
                                                                        <a href="#" class="tablelink"> 删除</a>
                                                                </td>
                                                        </tr> 
                                                </tbody>
                                        </table>
                                </div>
                        </div> 

                        <script type="text/javascript">
                                $("#usual1 ul").idTabs();
                                $('.tablelist tbody tr:odd').addClass('odd');
                        </script>
                </div>

        </body>
</html>
